﻿@model Pescar2013ShopYourAppliances.Models.Producto 
@{ 
ViewBag.Title = "Delete"; 
} 
<h2>Borrar</h2> 

<h3>Estas seguro que queres borrar este producto?</h3> 

<fieldset> 
   <legend>Producto</legend> 
            <div class="display-label"> 
               @Html.DisplayNameFor(model => model.nombre) 
            </div> 
            <div class="display-field"> 
               @Html.EditorFor(model => model.nombre) 
               @Html.ValidationMessageFor(model => model.nombre)
           </div> 
           <div class="display-label"> 
              @Html.LabelFor(model => model.modelo) 
           </div> 
           <div class="display-field"> 
              @Html.EditorFor(model => model.modelo) 
              @Html.ValidationMessageFor(model => model.modelo) 
           </div>
           <div class="display-label"> 
              @Html.LabelFor(model => model.marca) 
          </div> 
          <div class="display-field"> 
              @Html.EditorFor(model => model.marca) 
              @Html.ValidationMessageFor(model => model.marca) 
          </div>
           <div class="display-label"> 
              @Html.LabelFor(model => model.precio) 
          </div> 
          <div class="display-field"> 
              @Html.EditorFor(model => model.precio) 
              @Html.ValidationMessageFor(model => model.precio) 
          </div>
          <div class="display-label"> 
             @Html.DisplayNameFor(model => model.url) 
         </div> 
        <div class="display-field"> 
         @Html.DisplayFor(model => model.url) 
          </div> 
</fieldset> 
@using (Html.BeginForm()) { 
<p> 
<input type="submit" value="Borrar" /> | 
@Html.ActionLink("Volver a la lista wachim", "Index") 
</p> 
}